﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using Sinacor.Servico.Bovespa.Calendario.BusinessEntity;
using Sinacor.Servico.Bovespa.Calendario.Service.DataContract.Response;

namespace Sinacor.Servico.Bovespa.Calendario.Service.ServiceImplementation.Translator.BusinessEntityToDataContract
{
    public static class Calendario
    {
        #region Métodos Públicos

        /// <summary>
        /// 
        /// </summary>
        /// <param name="from"></param>
        /// <returns></returns>
        public static DataContract.Response.DataAtualResponse ToDataAtualResponse(BusinessEntity.DataAtual from)
        {
            DataAtualResponse to = new DataAtualResponse();
            to.Valor = from.Valor;
            return to;
        }

        #endregion
    }
}
